package com.hong.order;

public class OrderService {

    private OrderCodeGenerator org = new OrderCodeGenerator();

    public void createOrder(){
        String orderCode = org.generateCode();
        System.out.println(Thread.currentThread().getName() + "====>" + orderCode);

        //其他业务
    }

}
